.yg-home {
  .yg-home-title {
    .home-title {
      background: var(--themeColor);
    }
  }
  .yg-home-search {
    width: 100%;
    height: 1.333333rem;
    background: #fd0002;
    display: flex;
    align-items: center;
    justify-content: center;
    .home-search-item {
      width: 8.266667rem;
      height: 1.066667rem;
      background: #fff;
      border-radius: 0.053333rem;
      text-align: center;
      line-height: 1.066667rem;
      color: #ccc;
      font-size: 0.426667rem;
    }
  }
  .yg-banner-list {
    height: 4.533333rem;
    .banner-list-item {
      height: 4.533333rem;
      width: 100%;
    }
  }
  .yg-home-nav {
    width: 100%;
    height: 1.866667rem;
    margin-top: 0.133333rem;
    .home-nav-list {
      width: 100%;
      height: 1.866667rem;
      display: flex;
      align-items: center;
      .nav-list-item {
        height: 1.866667rem;
        flex: 1;
        img {
          width: 100%;
          // height: 100%;
        }
      }
    }
  }
  .yg-home-product {
    .home-product-item {
      .product-item-title {
        margin-top: 1.2rem;
        img {
          height: 0.8rem;
        }
      }
  
      .product-img-list {
        overflow: hidden;
        .img-list-item {
          float: left;
          &:nth-child(1){
            margin-left: 0.213333rem;
            height: 5.146667rem;
            width: 3.093333rem;
          }
          &:nth-child(2),
          &:nth-child(4) {
              margin-left: 0.2rem;
              height: 2.506667rem;
              width: 3.1rem;
          }
          &:nth-child(3),
          &:nth-child(5) {
              margin-left:  0.2rem;
             
              height: 2.506667rem;
              width: 2.96rem;
          }

          &:nth-child(3),
          &:nth-child(2) {
              margin-bottom: 0.133333rem ;
          }
          img {
            width: 100%;
            height: 100%;
          }
        }
      }
    }
  }
}
